package com.secxiot.provider.task.dao;

import com.secxiot.provider.task.entity.TaskTransfer;
import com.secxiot.provider.task.entity.TaskTransferExample;
import com.secxiot.provider.task.vo.TaskTransferVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TaskTransferDao {
    int countByExample(TaskTransferExample example);

    int deleteByExample(TaskTransferExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TaskTransfer record);

    int insertSelective(TaskTransfer record);

    List<TaskTransfer> selectByExample(TaskTransferExample example);

    TaskTransfer selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TaskTransfer record, @Param("example") TaskTransferExample example);

    int updateByExample(@Param("record") TaskTransfer record, @Param("example") TaskTransferExample example);

    int updateByPrimaryKeySelective(TaskTransfer record);

    int updateByPrimaryKey(TaskTransfer record);

    List<TaskTransferVo> getListByTaskId(Long taskId);
}